﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model.Admin
{
    [Table("T_Admin")]
    public class T_Admin
    {
        /// <summary>
        /// 管理员id
        /// </summary>
        [Key]
        public int A_Id { get; set; }
        /// <summary>
        /// 管理员帐号
        /// </summary>
        public string A_Name { get; set; }
        /// <summary>
        /// 管理员密码
        /// </summary>
        public string A_Pwd { get; set;}
        /// <summary>
        /// 管理员电话号码
        /// </summary>

        public string A_Phone { get; set; }
        /// <summary>
        /// 管理员真实姓名
        /// </summary>
        public string A_UserName { get; set;}
        /// <summary>
        /// 管理员地址
        /// </summary>

        public string A_Address { get; set; }
        /// <summary>
        /// 管理员注册时间
        /// </summary>

        public DateTime A_Date { get; set; } = DateTime.Now;
        /// <summary>
        /// 是否删除
        /// </summary>

        public bool IsDeleted { get; set; } = false;
    }
}
